package com.atguigu.common.service.constant;

/**
 * @Author yaya
 * @Create 2024/6/3 20:53
 * Description:
 */
public class RedisConstant {
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60 * 5;
    public static final String APP_LOGIN_PREFIX = "app:login:";
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;

    public static final String APP_CODE_PHONE_PREFIX = "app:code:phone:";
}